﻿// -----------------------------------------------------------------------
// Vending machines: Breadlines for the developer masses!
// -----------------------------------------------------------------------

namespace Cubezicles.NeedObjects
{
    using Microsoft.Xna.Framework;
    using Microsoft.Xna.Framework.Graphics;

    class VendingMachine : NeedObject
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public VendingMachine(Game1 game, Vector3 position)
            : base(game, position, VendingMachineModelName, SnackVendingSound)
        {
            name = "Vending Machine";
            tagline = "Let them eat cake!";
            price = MoneyManager.CostVendingMachine;
            this.DrawOrder = (int)Game1.DisplayOrder.Objects;
            avatar = Game.Content.Load<Texture2D>("Textures/NeedObjects/vending");
        }
    }
}
